﻿$(function () {
    $('fieldset, legend')
        .addClass('ui-widget ui-corner-all')
        .filter('fieldset').addClass('ui-widget-content').end()
        .filter('legend').addClass('ui-widget-header').end();

    $('a, :submit').button();

    $(':text')
        .addClass('ui-widget-content')
        .addClass('ui-corner-all');
});